<%--
  Created by IntelliJ IDEA.
  User: hp
  Date: 2020/6/21
  Time: 20:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
        HttpSession s =request.getSession();
%>
<h1>WelCome to Rice Field Mother Fucker</h1>
<form action="${pageContext.request.contextPath}/user/login" method="post">
    账号：<input type="text" name="username"><br>
    密码：<input type="password" name="password"><br>
    验证码：<input type="text" name="vcode"><img src="${pageContext.request.contextPath}/vcode/flush-image">
    <input type="submit" value="登录"><br>
    ${sessionScope.user.nickname}

</form>
</body>
</html>
